<?php foreach($proflist as $prof): ?>
<div id="item<?php echo $prof->id ?>" style="border-bottom: 1px solid #cdcdb4; padding: 5px 0">
    <img align="left" style="padding: 2px" width="30" height="30" src="<?php echo url_for('entityImage/index?entityid='.$prof->id) ?>" alt="<?php echo $prof->firstname ?>" />
    <div id="name<?php echo $prof->id ?>" style="font-weight: bolder"><?php echo $prof->firstname . ' ' . $prof->lastname ?></div>
    <div><?php echo $prof->position .' - '. $prof->university ?></div>
</div>
<?php endforeach; ?>
<br/>